package cn.wolfcode.luowowo.test;

import lombok.Getter;

/**
 * 1:构造器是私有
 * 2:实例是固定
 */
@Getter
public enum EnumDay {
    DAY1("day1"),DAY2("day2"),DAY3("day3");


    //public static final DAY1 = new EnumDay("day1");


    private String name;

    private EnumDay(String name){
        this.name = name;
    }


    public void m1(){
        System.out.println("fangfa 1....");
    }

}
